package com.ph.config;

import lombok.Data;
import org.apache.shiro.authc.AuthenticationToken;

@Data
public class PhonePasswordToken implements AuthenticationToken {
    private Long phone;
    private String password;

    @Override
    public Object getPrincipal() {
        return phone;
    }

    @Override
    public Object getCredentials() {
        return password;
    }
}
